<template>
  <div class="title">
    <h3>{{ item.name }}</h3>
    <nav>
      <p v-for="i in item.palteTabList" :key="i.id">{{ i.name }}</p>
    </nav>
  </div>
</template>

<script>
export default {
  props: ['item']
}
</script>

<style lang="scss" scoped>
.title {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin: auto;
  // border: 1px solid #000;
}
.title h3 {
  width: 10%;
  // border: 1px solid #000;
}
nav {
  width: 90%;
  // border: 1px solid #000;
  display: flex;
  justify-content: end;
  gap: 10px;
  margin: auto;
}
</style>
